export interface QueryParams {
  page?: number;
  limit?: number;
  filter?: any;
}

export interface ListResult<T> {
  count: number;
  list: T[];
}

export interface DelResult {
  count: number;
}

// 工艺内部步骤接口
export interface CraftContent {
  content: string;
  isInputNum: number;
  number: number;
  default?: boolean;
  isDone?: number;
  defaultReportingNum?: number;
  workedNumber?: number;
  workNumber?: number;
}

// 工艺接口
export interface CraftItem {
  addTime?: string;
  updateTime?: string;
  content: CraftContent[];
  craftId: number;
  default: number;
  status: number;
}
